<?php

/*
|--------------------------------------------------------------------------
| Web Routes
|--------------------------------------------------------------------------
|
| Here is where you can register web routes for your application. These
| routes are loaded by the RouteServiceProvider within a group which
| contains the "web" middleware group. Now create something great!
|
*/


Route::group(['namespace'=>'App\Http\Controllers\Api\Shop','middleware'=>['WebAuth','LoginVerify']],function(){

    Route::post('api/generate_order','ProductsController@generate_order');
    Route::get('api/wechat_callback','wechatPayController@wechat_callback');
    Route::post('api/goods_list','ProductsController@goodsList');
    Route::post('api/goods_detail','ProductsController@goods_detail');

});
